<script setup>
import bus from '../utils/bus'
function btnClick () {
  bus.emit('atob', Math.random())
}
</script>
<template>
  <div class="sona">
    <button @click="btnClick">传值sonb</button>
  </div>
</template>
<style>
.sona {
  width: 300px;
  height: 300px;
  background: #f00;
}
</style>
